﻿Public Class SpriteDrawEventArgs
    Inherits DrawEventArgs

    Public ReadOnly [Object] As GameObject

    Public Sub New(ByVal owner As GameObject, ByVal args As DrawEventArgs)
        MyBase.New(args.Engine, args.Time, args.PaintEventArgs)
        [Object] = owner
    End Sub

    Public Sub New(ByVal owner As GameObject, ByVal source As GameEngine, ByVal timeOfEvent As GameTime, ByVal paintArgs As PaintEventArgs)
        MyBase.New(source, timeOfEvent, paintArgs)
        [Object] = owner
    End Sub
End Class
